import {getWebGLContext} from '../../../src/lib/cuon-utils';

function main() {
    const canvas = document.getElementById('webgl');
    const gl = getWebGLContext(canvas);
    if (!gl) {
        console.log('Failed to get the rendering context for WebGL');
        return;
    }
    gl.clearColor(0.0, 0.0, 0.0, 10.);
    gl.clear(gl.COLOR_BUFFER_BIT);
}

main();
